<?
ob_start();
session_start();
if(!session_is_registered("user"))
header("location:home_hrd.php")
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>hasil_ahp</title>
<link rel="stylesheet" href="ahp_style.css" type="text/css" />
<style type="text/css">
<!--
body {
	background-color: #DDFBF2;
}
.style9 {font-size: 14pt}
.style10 {font-size: 12pt}
.style11 {font-family: Geneva, Arial, Helvetica, sans-serif}
-->
</style></head>

<body>
<div id="header">
    <img src="image/logo_kanisius.gif" />
</div>

<div id="garis">
</div>

<div id="content">
<div id="rightcontent">
  <table width="623" height="300" border="1">
    <tr>
      <td width="613"><div align="center" class="style9">
        <div align="left">FORM HASIL PERHITUNGAN </div>
      </div></td>
    </tr>
    <tr>
      <td><div align="center" class="style10">Prioritas Penerimaan Karyawan </div></td>
    </tr>
    <tr align="center" >
      <td>
	  <?php
			 include "../librari/koneksi.php";
			echo "
	  <table>
	<tr>
	<th>Peringkat</th>
	<th>Nama Calon Pelamar</th>
	<th>Nilai Vektor Prioritas</th>
	</tr>";
			$tampil = "Select * from pelamar order by idPelamar asc";
			$hasil=mysql_query($tampil);
              while ($r=mysql_fetch_array($hasil)){

	 echo "
	 	   <tr><td>$r[peringkat]</td>
           <td>$r[nama]</td>
		   <td>$r[vektor_prioritas]</td> ";
           
// $no++;
}
echo "</table>";
	
?>
</td>
    </tr>
    
    <tr>
      <td><p align="left"><strong>KETERANGAN</strong>:</p>
        <p align="left" class="style11">Form di atas merupakan form yang menunjukkan hasil perhitungan dengan metode AHP yang telah diurutkan dari nilai VP tertinggi. Sistem ini hanya mendukung  HRD dalam mengambilan keputusan  pelamar tersebut diterima atau tidak. Jadi tidak mutlak pelamar dengan nilai tertinggi yang akan diterima sebagai karyawan. </p></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><form id="form1" name="form1" method="post" action="home_hrd.php">
        <label>
          <input type="submit" name="OK" value="OK" />
          </label>
      </form>
      </td>
    </tr>
  </table>
</div>




</div>


</body>
</html>

<?
ob_end_flush();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
</body>
</html>
